//
//  GsmNavigationController.m
//  敢唆嘛!
//
//  Created by 教主 on 15/11/23.
//  Copyright © 2015年 zms. All rights reserved.
//

#import "GsmNavigationController.h"

@interface GsmNavigationController ()

@end

@implementation GsmNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    // 保持竖屏
    [[UIApplication sharedApplication] setStatusBarOrientation: UIInterfaceOrientationPortraitUpsideDown animated: YES];
    
    // 设置所有navbar不透明
    [[UINavigationBar appearance] setTranslucent:NO];
    
//    // 设置所有BarTint颜色
//    [[UINavigationBar appearance] setBarTintColor:[UIColor colorWithRed:255 / 255.0 green:105 / 255.0 blue:52 / 255.0 alpha:1.0]];
    
}


//返回竖屏格式
- (UIInterfaceOrientationMask)supportedInterfaceOrientations
{
    return UIInterfaceOrientationMaskPortrait;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
